package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户Email对象 sys_useremail
 * 
 * @author zax
 * @date 2022-03-31
 */
public class SysUseremail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 用户名称(email) */
    @Excel(name = "用户名称(email)")
    private String userEmail;

    /** 登入密码 */
    @Excel(name = "登入密码")
    private String password;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 角色 */
    @Excel(name = "角色")
    private String roleId;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 状态（0启用，1停用） */
    @Excel(name = "状态", readConverterExp = "0=启用，1停用")
    private String state;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String creationTime;

    private Long userId;

    private String isDelete;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUserEmail(String userEmail) 
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail() 
    {
        return userEmail;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setRoleId(String roleId)
    {
        this.roleId = roleId;
    }

    public String getRoleId()
    {
        return roleId;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setCreationTime(String creationTime) 
    {
        this.creationTime = creationTime;
    }

    public String getCreationTime() 
    {
        return creationTime;
    }
    public void setIsDelete(String isDelete) 
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("userEmail", getUserEmail())
            .append("password", getPassword())
            .append("roleId", getRoleId())
            .append("phone", getPhone())
            .append("state", getState())
            .append("creationTime", getCreationTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
